//入口Js

import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { Button } from 'mint-ui'
import './mock/mockServer' //加载Mockserver即可

import VueLazyload from 'vue-lazyload'
import loading from './common/imgs/loading.gif'
Vue.use(VueLazyload, {//内部自定义一个指令lazy
	loading
})


import './filters'//加载过滤器

//注册全局组件标签
Vue.component(Button.name, Button)

new Vue({
	el: '#app',
	router,
	render: h => h(App),
	store
})